package com.wsd.smartcarwasher.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wsd.smartcarwasher.domain.UserFromH5CouponRecord;
import com.wsd.smartcarwasher.domain.UserFromH5CouponRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserFromH5CouponRecordMapper extends BaseMapper<UserFromH5CouponRecord> {
    long countByExample(UserFromH5CouponRecordExample example);

    int deleteByExample(UserFromH5CouponRecordExample example);

    List<UserFromH5CouponRecord> selectByExample(UserFromH5CouponRecordExample example);

    int updateByExampleSelective(@Param("record") UserFromH5CouponRecord record, @Param("example") UserFromH5CouponRecordExample example);

    int updateByExample(@Param("record") UserFromH5CouponRecord record, @Param("example") UserFromH5CouponRecordExample example);

    UserFromH5CouponRecord selectH5CouponByMobile(@Param("mobile") String mobile);
}